#pragma once
#include "InspItemFactoryManager.h"

class CInspItemFactoryImpl :
	public IInspItemFactory
{
public:
	CInspItemFactoryImpl(void);
	~CInspItemFactoryImpl(void);

	virtual CInspItem* CreateInspItem(LPCTSTR id) ;
	virtual bool DeleteInspItem(CInspItem* pItem) ;
	virtual void DeleteAllInspItem();
	virtual CPropBaseObjectVec CreateLearnUI(CVision* pVision,LPCTSTR id);
	virtual CPropBaseObjectVec CreateCalibrateUI(CVision* pVision,LPCTSTR id);

// 	ICalibrationData* GetCalibrateData()
// 	{
// 		return NULL;
// 	}

protected:
	void iClearAll();
protected:
	std::vector<CInspItem*> m_pItems;
};
